<html>
<head>
</head>
                 
<body>

<iframe id="iframeId" name="iframeId" src="https://www.saferpay.com/hosting/CreatePayInit.asp?spPassword=JFrY6io@qi&ACCOUNTID=99867-94913159&ORDERID=WEB-12345&AMOUNT=5000&CURRENCY=CHF&LANGID=fr&DESCRIPTION=Test&SUCCESSLINK=http://www.parvis.ch/cgi-bin/cgiip.exe/WService=wsbroker1/pmt_ok.htm?xxx=&FAILLINK=http://www.parvis.ch/cgi-bin/cgiip.exe/WService=wsbroker1/pmt_nok.htm?xxx="></iframe>

<script type="text/javascript">
    var iframeDoc;
    if (window.frames && window.frames.iframeId &&
        (iframeDoc = window.frames.iframeId.document)) {
        var iframeBody = iframeDoc.body;
        var ifromContent = iframeBody.innerHTML;
        alert(ifromContent);
    }
</script>

</body>
</html> 
